projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee9ab7
)
common: bootm_os: make arch_preboot_os __weak
author
Jeroen Hofstee
<
[email protected]
>
Thu, 10 Jul 2014 21:06:25 +0000
(23:06 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 18 Jul 2014 21:53:23 +0000
(17:53 -0400)
Signed-off-by: Jeroen Hofstee <
[email protected]
>
common/bootm_os.c
patch
|
blob
|
history
diff --git
a/common/bootm_os.c
b/common/bootm_os.c
index f7769ac853b7a49ed142316fd803c23f24425b8a..5be4467a1c2618d4552e1cbbcf715c6885aa2eb6 100644
(file)
--- a/
common/bootm_os.c
+++ b/
common/bootm_os.c
@@
-437,11
+437,10
@@
static boot_os_fn *boot_os[] = {
};
/* Allow for arch specific config before we boot */
-
static void __
arch_preboot_os(void)
+
__weak void
arch_preboot_os(void)
{
/* please define platform specific arch_preboot_os() */
}
-void arch_preboot_os(void) __attribute__((weak, alias("__arch_preboot_os")));
int boot_selected_os(int argc, char * const argv[], int state,
bootm_headers_t *images, boot_os_fn *boot_fn)